package com.mdh.runerrands.serviceImpl;

import com.alipay.api.AlipayApiException;
import com.mdh.runerrands.Util.AlipayUtil;
import com.mdh.runerrands.pojo.AlipayBean;
import com.mdh.runerrands.service.PayService;
import org.springframework.stereotype.Service;


@Service
public class PayServiceImpl implements PayService {



    @Override
    public String aliPay(AlipayBean alipayBean) throws AlipayApiException {


        return AlipayUtil.connect(alipayBean);
    }
}
